#ifndef ADDRULEDIALOG_H
#define ADDRULEDIALOG_H

#include <QDialog>
#include <QMessageBox>


namespace Ui {
    class addRuleDialog;
}

class addRuleDialog : public QDialog {
    Q_OBJECT
public:
    addRuleDialog(QWidget *parent = 0);
    ~addRuleDialog();

    QString getRule();
    void setRule( QString );

protected:
    void changeEvent(QEvent *e);

private:
    Ui::addRuleDialog *ui;

private slots:
    void on_buttonBox_rejected();
    void on_buttonBox_accepted();
};

#endif // ADDRULEDIALOG_H
